package com.service;

import com.domain.Comment;

import java.util.List;
import java.util.Map;

public interface CommentService {
    Integer add(Comment comment);
    Integer update(Comment comment);
    List<Comment> list(Map<String,Object> map);
    Long getTotal(Map<String,Object> map);
    Integer delete(Integer id);
    Integer deleteByBlogId(Integer blogId);
}
